from BeautifulReport import BeautifulReport
import unittest


repot=unittest.defaultTestLoader.discover(start_dir='./',pattern='TestCase.py')
prot=BeautifulReport(repot)
prot.report(description='这是一个测试报告',filename='baogao.html',report_dir='./')

if __name__ == '__main__':
    unittest.main()